package cn.jiahua.hospital.service;

import cn.jiahua.hospital.dto.DoctorScheduleDto;
import cn.jiahua.hospital.dto.ScheduleDto;
import cn.jiahua.hospital.pojo.Schedule;

import java.util.List;
import java.util.Map;

import cn.jiahua.hospital.dto.Page;

/**
 * Created by shang-pc on 2015/11/7.
 */
public interface ScheduleService {


    public Schedule getScheduleById(Integer id);

    public List<Schedule> getScheduleListByMap(Map<String, Object> param);

    public List<ScheduleDto> getScheduleListByMap_hospital(Map<String, Object> param);

    public Integer getScheduleCountByMap_hospital(Map<String, Object> param);

    public Integer getScheduleCountByMap(Map<String, Object> param);

    public Integer qdtxAddSchedule(Schedule schedule);

    public Integer qdtxModifySchedule(Schedule schedule);

    public Integer updateSchedule_hospital(Schedule schedule);

    public Integer qdtxDeleteScheduleById(Integer id);

    public Integer qdtxBatchDeleteSchedule(String ids);

    public Page<Schedule> querySchedulePageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);

    public List<DoctorScheduleDto> getDoctorSchedule(Integer doctorId)throws Exception;

    public Integer updateSchedule_doctorId(Schedule schedule);
}
